-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Physdescstructured exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


quantity : SelectionSet decodesTo Qore.Object.Quantity -> SelectionSet decodesTo Qore.Object.Physdescstructured
quantity object_ =
    Object.selectionForCompositeField "quantity" [] object_ identity


unittype : SelectionSet decodesTo Qore.Object.Unittype -> SelectionSet decodesTo Qore.Object.Physdescstructured
unittype object_ =
    Object.selectionForCompositeField "unittype" [] object_ identity


physdescstructuredoption : SelectionSet decodesTo Qore.Union.PhysdescstructuredOptionSubTypeUnion -> SelectionSet (List decodesTo) Qore.Object.Physdescstructured
physdescstructuredoption object_ =
    Object.selectionForCompositeField "physdescstructuredoption" [] object_ (identity >> Decode.list)


descriptivenote : SelectionSet decodesTo Qore.Object.Descriptivenote -> SelectionSet (Maybe decodesTo) Qore.Object.Physdescstructured
descriptivenote object_ =
    Object.selectionForCompositeField "descriptivenote" [] object_ (identity >> Decode.nullable)


id : SelectionSet (Maybe String) Qore.Object.Physdescstructured
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Physdescstructured
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Physdescstructured
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Physdescstructured
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Physdescstructured
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


label : SelectionSet (Maybe String) Qore.Object.Physdescstructured
label =
    Object.selectionForField "(Maybe String)" "label" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Physdescstructured
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


physdescstructuredtype : SelectionSet String Qore.Object.Physdescstructured
physdescstructuredtype =
    Object.selectionForField "String" "physdescstructuredtype" [] Decode.string


otherphysdescstructuredtype : SelectionSet (Maybe String) Qore.Object.Physdescstructured
otherphysdescstructuredtype =
    Object.selectionForField "(Maybe String)" "otherphysdescstructuredtype" [] (Decode.string |> Decode.nullable)


coverage : SelectionSet String Qore.Object.Physdescstructured
coverage =
    Object.selectionForField "String" "coverage" [] Decode.string
